package com.xci.platform.auth.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.xci.platform.core.Constant;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 系统反馈回复
 */
@Data
public class ReplyEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 回复主键
     */
    @NotBlank(message = "回复主键不能为空")
    @ExcelIgnore
    private String id;
  
    /**
     * 回复内容
     */
    @NotBlank(message = "回复内容不能为空")
    @Excel(name = "回复内容")
    private String replyContent;
  
    /**
     * 反馈主键
     */
    @NotBlank(message = "反馈主键不能为空")
    @ExcelIgnore
    private String feedbackId;

    /**
     * 操作用户主键
     */
    @ExcelIgnore
    private String operateUserId;

    /**
     * 操作用户
     */
    @Excel(name = "操作用户")
    private String operateUserName;

    /**
     * 操作日期
     */
    @Excel(name = "操作日期", exportFormat = Constant.DefaultDateTimePattern)
    private Date operateDateTime;
  
}
